#pragma once

#include<stdio.h>

void Heapsortdown(int* arr, int size);
void Adjustdown(int* arr, int size, int parent);

void Heapsortup(int* arr, int size);
void Adjustup(int* arr, int child);